/**
 * 
 */
package com.nwpusp.controller.actions;

import com.nwpusp.model.GameModel;
import com.nwpusp.model.session.ConnectionId;

/**
 * @author JustinCao
 *
 */
public class SyncRspAction extends Action {
	
	private int syncId = -1;
	private ConnectionId rspCid = null;

	public SyncRspAction(int syncId, ConnectionId rspCid) {
		this.syncId = syncId;
		this.rspCid = rspCid;
	}
	@Override
	public void Invoke(GameModel m) {
		if(syncId != -1) {
			SyncReqAction.Response(m, rspCid, syncId);	
		}
	}

}
